DeathwatchGuides_Hotspot = {}
DeathwatchGuides_Hotspot.CheckSelection = 0

function DeathwatchGuides_Hotspot.Initialize()
	ButtonSetTextColor("DeathwatchGuides_Hotspot", Button.ButtonState.NORMAL, DefaultColor.WHITE.r, DefaultColor.WHITE.g, DefaultColor.WHITE.b)
	ButtonSetText("DeathwatchGuides_Hotspot", L"DW")
end

function DeathwatchGuides_Hotspot.OnLClick()
	if DeathwatchGuides_Hotspot.CheckSelection == 0 then
		WindowUtils.ToggleShowing( "DeathwatchGuides_ScrollSelectGuide" )
		WindowSetShowing("DeathwatchGuidesWindow", false)
	else
		WindowSetShowing("DeathwatchGuides_ScrollSelectGuide", false)
		WindowUtils.ToggleShowing( "DeathwatchGuidesWindow" )
	end
end

function DeathwatchGuides_Hotspot.OnMouseover()
if (deb) then DEBUG(L"OnMouseoverWorldMapBtn") end
	Tooltips.CreateTextOnlyTooltip( SystemData.ActiveWindow.name, nil ) 
    
	local row = 1
	local column = 1
	Tooltips.SetTooltipColor( row, column, 255, 0, 0 )
	Tooltips.SetTooltipText( row, column, L"DeathWatch Guides" )
	-- line 1
	row = row + 1
	Tooltips.SetTooltipText( row, column, V["ToolTip_1"] )
	row = row + 1
	Tooltips.SetTooltipText( row, column, V["ToolTip_2"] )
    
	Tooltips.Finalize()
	Tooltips.AnchorTooltip( Tooltips.ANCHOR_WINDOW_LEFT)
end
